package com.avengers.mobile.layer.hibernate;


import java.util.List;

public interface HibernateGenericDAO {

	<T> void save(T entity);

	<T> T update(T entity);

	<T> void delete(T entity);
	
	<T> List<T> find(String queryString);

	<T> List<T> find(String queryString, Object[] params);

	<T> T findUniqueResult(String queryString);

	<T> T findUniqueResult(String queryString, Object params[]);
	
	}